﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModels.Entities.Livelihood
{
    [SugarTable("livelihoodscoreactivity")]
    public class LivelihoodScoreActivity
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; }

        /// <summary>
        /// 关联项目UUID (所属组织下拉框ID)
        /// </summary>

        public string ProjectsUUID { get; set; }

        /// <summary>
        /// 兑换所需积分
        /// </summary>

        public int Score { get; set; }

        /// <summary>
        /// 标题
        /// </summary>

        public string Title { get; set; }

        /// <summary>
        /// 状态 (0-下架, 1-上架)
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 资源编号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 图片路径集合（多个路径用;分号分隔）
        /// </summary>
        public string ImagePathS { get; set; }

        /// <summary>
        /// PDF文件路径
        /// </summary>
        public string PDFPath { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 删除标记 (0-未删除, 1-已删除)
        /// </summary>
        public int IsDeleted { get; set; } = 0;

        /// <summary>
        /// 最后编辑用户UUID
        /// </summary>
        public string EditUserUUID { get; set; }
    }
}
